﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _20170207_DbConnection
{
    class MySqlConnection : DatabaseConnection
    {
        public MySqlConnection(string connectionString, TimeSpan timeOut) : base(connectionString, timeOut)
        {
            //NOPE
        }

        public override void CloseConnection()
        {
            Console.WriteLine("Соединение с MySql окончено.");
        }

        public override void OpenConnection()
        {
            Console.WriteLine("Соединение с MySql установлено.");
            Console.WriteLine("Connection String {0}, TimeOut {1}", ConnectionString, TimeOut);
        }
    }
}
